<?php
/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Mobile
 * @copyright  Copyright (c) 2010-2011 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */
?>
<div class="page-head"><h3><?php echo $this->__('Newsletter Subscription') ?></h3></div>
<div class="in-page">
    <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
    <form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
        <?php echo $this->getBlockHtml('formkey')?>
        <p><input type="checkbox" name="is_subscribed" id="subscription" value="1" title="<?php echo $this->__('General Subscription') ?>"  <?php if($this->getIsSubscribed()): ?> checked="checked"<?php endif ?> /> <label for="subscription"><?php echo $this->__('General Subscription') ?></label></p>
        <br />
        <div class="a-center">
            <div class="form-buttons">
                <button type="submit" class="form-button"><span><?php echo $this->__('Save') ?></span></button>
            </div>
        </div>
    </form>
    <a class="button grey left"  title="Go back" href="<?php echo Mage::getUrl('customer/account');?>"><span class="nowrap"><?php echo $this->__('Back');?></span></a>
</div><br /><br />
<script type="text/javascript">
    var dataForm = new VarienForm('form-validate', true);
</script>
